import Layout from '@/layout'
// 权限管理，动态路由，根据用户权限不一样不同的显示
const permissionRouter = {
  path: '/permission',
  component: Layout,
  children: [
    {
      name: 'permission',
      path: '', // 二级路由为空，作为默认渲染路由
      component: () => import ('@/views/permission/index'),
      meta: { title: '权限管理', icon: 'lock' }
    }
  ]
}

export default permissionRouter
